// sample.cpp
#include <node.h>

void Greet(const v8::FunctionCallbackInfo<v8::Value>& args) {
  v8::Isolate* isolate = args.GetIsolate();
  printf("Hello from C++ code!\n");
}

void LoadTimes(const v8::FunctionCallbackInfo<v8::Value>& args) {
//     v8::Isolate* isolate = args.GetIsolate();
//     printf("Hello from C++ code!\n");
}

void Initialize(v8::Local<v8::Object> exports) {
  NODE_SET_METHOD(exports, "greet", Greet);
  NODE_SET_METHOD(exports, "loadTimes", LoadTimes);
}

NODE_MODULE(NODE_GYP_MODULE_NAME, Initialize)
